package com.tbycoder.tby.entity;

import com.baomidou.mybatisplus.extension.activerecord.Model;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Builder;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author tby
 * @since 2021-05-13
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="IposQuestion对象", description="")
@Builder
public class IposQuestion extends Model<IposQuestion> {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "问题id")
    private int questionId;

    @ApiModelProperty(value = "问题内容")
    private String questionContent;

    @ApiModelProperty(value = "问题答案")
    private String questionAnswer;


    @Override
    protected Serializable pkVal() {
        return this.questionId;
    }

}
